<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>sch-solver: cSchrodinger Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">sch-solver
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classcSchrodinger-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">cSchrodinger Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="cSchrodinger_8h_source.html">cSchrodinger.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for cSchrodinger:</div>
<div class="dyncontent">
<div class="center"><img src="classcSchrodinger__inherit__graph.png" border="0" usemap="#cSchrodinger_inherit__map" alt="Inheritance graph"/></div>
<map name="cSchrodinger_inherit__map" id="cSchrodinger_inherit__map">
<area shape="rect" id="node2" href="classcDY.html" title="cDY" alt="" coords="31,5,79,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for cSchrodinger:</div>
<div class="dyncontent">
<div class="center"><img src="classcSchrodinger__coll__graph.png" border="0" usemap="#cSchrodinger_coll__map" alt="Collaboration graph"/></div>
<map name="cSchrodinger_coll__map" id="cSchrodinger_coll__map">
<area shape="rect" id="node2" href="classcDY.html" title="cDY" alt="" coords="31,5,79,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ab202871942e033f92eea1934e157eda4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcSchrodinger.html#ab202871942e033f92eea1934e157eda4">cSchrodinger</a> ()</td></tr>
<tr class="separator:ab202871942e033f92eea1934e157eda4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13d0a1f1e7815b95472a5ea392642ac1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcSchrodinger.html#a13d0a1f1e7815b95472a5ea392642ac1">~cSchrodinger</a> ()</td></tr>
<tr class="separator:a13d0a1f1e7815b95472a5ea392642ac1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5f2fc17f88872abc57e18127b397f50"><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcSchrodinger.html#aa5f2fc17f88872abc57e18127b397f50">DE</a> (double x, double V_x, double y, double dy)</td></tr>
<tr class="memdesc:aa5f2fc17f88872abc57e18127b397f50"><td class="mdescLeft">&#160;</td><td class="mdescRight">The Differential Equation written in the form y''=f(x)y' + g(x)y + h(x)  <a href="#aa5f2fc17f88872abc57e18127b397f50">More...</a><br/></td></tr>
<tr class="separator:aa5f2fc17f88872abc57e18127b397f50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4afb287aa1b1f3a4aa885144d2c4e116"><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcSchrodinger.html#a4afb287aa1b1f3a4aa885144d2c4e116">f</a> (double x, double V_x, double dy)</td></tr>
<tr class="separator:a4afb287aa1b1f3a4aa885144d2c4e116"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add7897a6d9823dbeeac6f6668f4af01a"><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcSchrodinger.html#add7897a6d9823dbeeac6f6668f4af01a">g</a> (double x, double V_x, double y)</td></tr>
<tr class="separator:add7897a6d9823dbeeac6f6668f4af01a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa35bb8f7a350775a8a48e55a26b7e41d"><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcSchrodinger.html#aa35bb8f7a350775a8a48e55a26b7e41d">h</a> (double x)</td></tr>
<tr class="separator:aa35bb8f7a350775a8a48e55a26b7e41d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classcDY"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcDY')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classcDY.html">cDY</a></td></tr>
<tr class="memitem:a9fff83df11af1654f961afd3d5fdbd63 inherit pub_methods_classcDY"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcDY.html#a9fff83df11af1654f961afd3d5fdbd63">cDY</a> ()</td></tr>
<tr class="separator:a9fff83df11af1654f961afd3d5fdbd63 inherit pub_methods_classcDY"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acffd591393a8ed189bbab3378404c724 inherit pub_methods_classcDY"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcDY.html#acffd591393a8ed189bbab3378404c724">~cDY</a> ()</td></tr>
<tr class="separator:acffd591393a8ed189bbab3378404c724 inherit pub_methods_classcDY"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0213119531d1b1249caa14960a78b07f inherit pub_methods_classcDY"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcDY.html#a0213119531d1b1249caa14960a78b07f">set_E</a> (double value)</td></tr>
<tr class="memdesc:a0213119531d1b1249caa14960a78b07f inherit pub_methods_classcDY"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the initial value for energy.  <a href="#a0213119531d1b1249caa14960a78b07f">More...</a><br/></td></tr>
<tr class="separator:a0213119531d1b1249caa14960a78b07f inherit pub_methods_classcDY"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a595780d7dcff151249cd3cb2a5140cdf inherit pub_methods_classcDY"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcDY.html#a595780d7dcff151249cd3cb2a5140cdf">set_name</a> (string value)</td></tr>
<tr class="memdesc:a595780d7dcff151249cd3cb2a5140cdf inherit pub_methods_classcDY"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the name of the differential equation.  <a href="#a595780d7dcff151249cd3cb2a5140cdf">More...</a><br/></td></tr>
<tr class="separator:a595780d7dcff151249cd3cb2a5140cdf inherit pub_methods_classcDY"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb43e0e26f94164adc1b936291e02300 inherit pub_methods_classcDY"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcDY.html#aeb43e0e26f94164adc1b936291e02300">get_name</a> ()</td></tr>
<tr class="memdesc:aeb43e0e26f94164adc1b936291e02300 inherit pub_methods_classcDY"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the name of the equation.  <a href="#aeb43e0e26f94164adc1b936291e02300">More...</a><br/></td></tr>
<tr class="separator:aeb43e0e26f94164adc1b936291e02300 inherit pub_methods_classcDY"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fb530ad2f124c7b730364e6fe71e932 inherit pub_methods_classcDY"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcDY.html#a3fb530ad2f124c7b730364e6fe71e932">get_E</a> ()</td></tr>
<tr class="memdesc:a3fb530ad2f124c7b730364e6fe71e932 inherit pub_methods_classcDY"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retunr the current value of energy.  <a href="#a3fb530ad2f124c7b730364e6fe71e932">More...</a><br/></td></tr>
<tr class="separator:a3fb530ad2f124c7b730364e6fe71e932 inherit pub_methods_classcDY"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_attribs_classcDY"><td colspan="2" onclick="javascript:toggleInherit('pub_static_attribs_classcDY')"><img src="closed.png" alt="-"/>&#160;Static Public Attributes inherited from <a class="el" href="classcDY.html">cDY</a></td></tr>
<tr class="memitem:ad07466623f9544e8de7b10869fa9e357 inherit pub_static_attribs_classcDY"><td class="memItemLeft" align="right" valign="top">static const double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcDY.html#ad07466623f9544e8de7b10869fa9e357">hbar</a> = 1.054571628e-34</td></tr>
<tr class="separator:ad07466623f9544e8de7b10869fa9e357 inherit pub_static_attribs_classcDY"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b4e081bc324b545df4591b1a6d5bd8b inherit pub_static_attribs_classcDY"><td class="memItemLeft" align="right" valign="top">static const double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcDY.html#a2b4e081bc324b545df4591b1a6d5bd8b">atomic_me</a> = 9.1093826e-31</td></tr>
<tr class="separator:a2b4e081bc324b545df4591b1a6d5bd8b inherit pub_static_attribs_classcDY"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ab202871942e033f92eea1934e157eda4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">cSchrodinger::cSchrodinger </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classcSchrodinger_ab202871942e033f92eea1934e157eda4_cgraph.png" border="0" usemap="#classcSchrodinger_ab202871942e033f92eea1934e157eda4_cgraph" alt=""/></div>
<map name="classcSchrodinger_ab202871942e033f92eea1934e157eda4_cgraph" id="classcSchrodinger_ab202871942e033f92eea1934e157eda4_cgraph">
<area shape="rect" id="node3" href="classcDY.html#a595780d7dcff151249cd3cb2a5140cdf" title="Set the name of the differential equation." alt="" coords="239,5,351,35"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a13d0a1f1e7815b95472a5ea392642ac1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">cSchrodinger::~cSchrodinger </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="aa5f2fc17f88872abc57e18127b397f50"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double cSchrodinger::DE </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>V_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>dy</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The Differential Equation written in the form y''=f(x)y' + g(x)y + h(x) </p>

<p>Implements <a class="el" href="classcDY.html#a0c3531ae829486a424fc47244e072c77">cDY</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classcSchrodinger_aa5f2fc17f88872abc57e18127b397f50_cgraph.png" border="0" usemap="#classcSchrodinger_aa5f2fc17f88872abc57e18127b397f50_cgraph" alt=""/></div>
<map name="classcSchrodinger_aa5f2fc17f88872abc57e18127b397f50_cgraph" id="classcSchrodinger_aa5f2fc17f88872abc57e18127b397f50_cgraph">
<area shape="rect" id="node3" href="classcDY.html#a3fb530ad2f124c7b730364e6fe71e932" title="Retunr the current value of energy." alt="" coords="179,5,269,35"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a4afb287aa1b1f3a4aa885144d2c4e116"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double cSchrodinger::f </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>V_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>dy</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="classcDY.html#ad2baf7ba3b4d140b0cf9daa1062a121e">cDY</a>.</p>

</div>
</div>
<a class="anchor" id="add7897a6d9823dbeeac6f6668f4af01a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double cSchrodinger::g </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>V_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="classcDY.html#abb8ca2ad6b5075af6602c970323c8175">cDY</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classcSchrodinger_add7897a6d9823dbeeac6f6668f4af01a_cgraph.png" border="0" usemap="#classcSchrodinger_add7897a6d9823dbeeac6f6668f4af01a_cgraph" alt=""/></div>
<map name="classcSchrodinger_add7897a6d9823dbeeac6f6668f4af01a_cgraph" id="classcSchrodinger_add7897a6d9823dbeeac6f6668f4af01a_cgraph">
<area shape="rect" id="node3" href="classcDY.html#a3fb530ad2f124c7b730364e6fe71e932" title="Retunr the current value of energy." alt="" coords="168,5,259,35"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="aa35bb8f7a350775a8a48e55a26b7e41d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double cSchrodinger::h </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="classcDY.html#a626d78970c734af3ec876ce327f3a082">cDY</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>diffeq/<a class="el" href="cSchrodinger_8h_source.html">cSchrodinger.h</a></li>
<li>diffeq/<a class="el" href="cSchrodinger_8cpp.html">cSchrodinger.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Sep 17 2013 17:26:46 for sch-solver by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3.1
</small></address>
</body>
</html>
